<template>
  <div class="slide-nav">
    <div id="slide-nav">
      <template v-for="item in 5">
        <div class="item">

          <span class="icon-rili iconfont"></span>
          <p>每日推荐</p>

        </div>
        <div class="item">
          <span class="icon-maikefeng iconfont"></span>
          <p>每日推荐</p>
        </div>
      </template>
    </div>
  </div>
</template>

<script setup>

</script>

<style scoped lang="scss">
.slide-nav {
  overflow: scroll;

  #slide-nav {
    display: flex;
    position: relative;

    .item {
      min-width: 20%;
      display: flex;
      flex-direction: column;
      align-items: center;

      .iconfont {
        font-size: 30px;
        color: #ff0000;
      }

      p {
        line-height: 10px;
        font-size: 12px;
      }
    }
  }
}
</style>